﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LDCRNewEdit.Model
{
    class BaseDataValue : BaseDataFormat, ICloneable
    {
        public BaseDataValue(BaseDataFormat df)
            : base(df)
        {
            this.Value = "-1";
            this.Text = df.NodeName;
        }

        public string Value
        {
            set;
            get;
        }

        public string Text
        {
            set;
            get;
        }

        public object Clone()
        {
            BaseDataValue data = new BaseDataValue(this);
            data.Value = this.Value;
            return data;
        }

    }
}
